Skip to main content

showsUserLocation

Type

property

Summary

Whether to show the user's current location

Syntax

set the showsUserLocation of <widget> to { true | false }
get the showsUserLocation of <widget>

Description

Use the showsUserLocation property to control whether the map displays a marker showing the current user location or not.

Examples

set the showsUserLocation of widget "Map" to true

Compatibility and Support

OS

mac

ios

android

Platforms

desktop

mobile